package com.woody.aggregate.infrastructure.saas.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.woody.common.mybatisplus.model.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * saas商圈行业
 */
@Data
@TableName("saas_shop_industry")
public class SaasShopIndustry extends BaseEntity implements Serializable {

    /**
     * 自增主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty(value = "行业编码")
    private Long code;

    @ApiModelProperty(value = "行业名称")
    private String name;

    @ApiModelProperty(value = "行业编码")
    private Long parentCode;

    @ApiModelProperty(value = "层级")
    private Integer level;

    @ApiModelProperty(value = "状态 1=启用，0=禁用，默认1")
    private Integer state;

    @ApiModelProperty(value = "展示状态 1=展示，0=隐藏 默认1")
    private Integer showVal;

    @ApiModelProperty(value = "展示状态 1=展示，0=隐藏 默认1")
    private Integer sort;
}
